﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace TlToolBase.Mode
{
    /// <summary>
    /// 请求返回
    /// </summary>
    public class HttpResultValue
    {
        public int code { get; set; }
        public string type { get; set; }
        public string message { get; set; }
        public Result result { get; set; }
        public object extras { get; set; }
        public string time { get; set; }
    }

    public class Result
    {
        public string accessToken { get; set; }
        public string refreshToken { get; set; }

        /// <summary>
        /// 是否成功
        /// </summary>
        public bool Success { get; set; }

        /// <summary>
        /// 提示信息
        /// </summary>
        public string Message { get; set; }
    }
}
